using System;

public class ProductBoot : ProductWearable
{
	public ProductBoot(string id_G, MoneyType priceIng_G, int price_G, bool availableForBuy_G, float sortWeight_G, string texture_G, string nameForFlurry_G, bool isTemporary_G, int tier_G, bool bestPrice_G, bool newProduct_G, string nextProductId_G, string prevProductId_G, string categoryName_G, string subCategoryName_G, RareType rare_G, int bonusHP_G)
		: base(id_G, priceIng_G, price_G, availableForBuy_G, sortWeight_G, texture_G, nameForFlurry_G, isTemporary_G, tier_G, bestPrice_G, newProduct_G, nextProductId_G, prevProductId_G, categoryName_G, subCategoryName_G, rare_G, bonusHP_G)
	{
	}

	protected override string GetEquipedKey()
	{
		return "boots";
	}

	[Obsolete("Вызывать только из MarketController")]
	public override bool Equip()
	{
		if (base.Equip())
		{
			MarketController.Instance.EquipedBootsChanged();
			return true;
		}
		return false;
	}

	[Obsolete("Вызывать только из MarketController")]
	public override bool UnEquip()
	{
		if (base.UnEquip())
		{
			MarketController.Instance.EquipedBootsChanged();
			return true;
		}
		return false;
	}
}
